今日會將所知道的YAML檔案一次羅列,方便您自行調整合適的設定,透過影片能看得更明白。
slideOptions:\ transition:
,分別有none, fade, slide, convex, concave, zoom
這些可用特效。slideOptions:\ transition:
,分別有white, black, league, beige, sky, night, serif, simple, solarized, blood, moon
等主題。
---
slideOptions:
transition: slide #[none, fade, slide, convex, concave, zoom]
theme: league #[white, black, league, beige, sky, night, serif, simple, solarized, blood, moon]
---
#
之後的說明文字不會執行。---
title: 文件標題
description: 文件描述
date: 2022-08-13
langs: zh #見https://en.wikipedia.org/wiki/List_of_ISO_639-1_code
dir: rtl #[rtl, ltr]右至左、左至右
author: Willis Chen
disqus: willismax #替換為您申請的disqus
image: https://hackmd.io/screenshot.png #文件圖片,Twitter需1200:675才會預覽顯示
tags: `tag1`、`tag2` #自訂標籤,優先於文內標籤
GA: G-CH7FZ71WRC #自己申請的GA ID
---
title: 文件標題
description: 文件描述
author: Willis Chen
slideOptions:
transition: slide #[none, fade, slide, convex, concave, zoom]
slideNumber: true
theme: black #[white, black, league, beige, sky, night, serif, simple, solarized, blood, moon]
type: slide
GA: G-CH7FZ71WRC #自己申請的GA ID
您可以將本篇的YAML設定做為一個範本,日後使用時從範本建立文章,可以節省許多設定時間喔!